﻿using System;
using System.Collections.Generic;
using System.Text;

namespace HZ.Supervise.Model.View
{
    /// <summary>
    /// CompanyOrderDetail
    /// </summary>
    [Serializable()]
    [Table(TableName = "View_CompanyOrderDetail")]
    public class View_CompanyOrderDetail
    {
        /// <summary>
        /// 订单ID
        /// </summary>
        public string OrderId { get; set; }
        /// <summary>
        /// 订单详情ID 
        /// </summary>
        public string OrderDetailId { get; set; }
        /// <summary>
        /// 流水号
        /// </summary>
        public string ProcureCatalogId { get; set; }
        /// <summary>
        /// 采购数量
        /// </summary>
        public int? PuchaseCount { get; set; }
        /// <summary>
        /// 入库数
        /// </summary>
        public int? WareHouseCount { get; set; }
        /// <summary>
        /// 配送数
        /// </summary>
        public int? DistributeCount { get; set; }
        /// <summary>
        /// 配送说明
        /// </summary>
        public string DetailMemo { get; set; }
        /// <summary>
        /// 配送企业ID
        /// </summary>
        public string BuyId { get; set; }
        /// <summary>
        /// 生产企业ID
        /// </summary>
        public string SellerId { get; set; }
        /// <summary>
        /// 是否更新
        /// </summary>
        public bool? IsUpdate { get; set; }
        /// <summary>
        /// 配送企业
        /// </summary>
        public string BuyName { get; set; }
        /// <summary>
        /// 生产企业
        /// </summary>
        public string Sellname { get; set; }
        /// <summary>
        /// 0：刚制单未发送；1：制单完成已发送；2：已配送；3：已入库；4：已被拒绝
        /// </summary>
        public int? OrderDetailStatus { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string ProductID { get; set; }
        /// <summary>
        /// 剂型ID
        /// </summary>
        public string MedicineModelID { get; set; }
        /// <summary>
        /// 类型ID
        /// </summary>
        public string SortID { get; set; }
        /// <summary>
        /// 订单名称
        /// </summary>
        public string OrderName { get; set; }
        /// <summary>
        /// 订单说明
        /// </summary>
        public string OrderRemark { get; set; }
        /// <summary>
        /// 质量层次编号
        /// </summary>
        public string LevelID { get; set; }
        /// <summary>
        /// 通用名
        /// </summary>
        public string ProductName { get; set; }
        /// <summary>
        /// 通用名简称
        /// </summary>
        public string ShortName { get; set; }
        /// <summary>
        /// 商品名
        /// </summary>
        public string GoodsName { get; set; }
        /// <summary>
        /// 规格
        /// </summary>
        public string Outlookc { get; set; }
        /// <summary>
        /// 系数
        /// </summary>
        public int? Factor { get; set; }
        /// <summary>
        /// 单位
        /// </summary>
        public string Unit { get; set; }
        /// <summary>
        /// 包装
        /// </summary>
        public string Pack { get; set; }
        /// <summary>
        /// 材质
        /// </summary>
        public string Material { get; set; }
        /// <summary>
        /// 拼音码
        /// </summary>
        public string PinyinCode { get; set; }
        /// <summary>
        /// 五笔码
        /// </summary>
        public string WBCode { get; set; }
        /// <summary>
        /// 药品采购属性：0 中标药品，1 备案药品，2 疾控专供药品
        /// </summary>
        public int? ProcureStatus { get; set; }
        /// <summary>
        /// 类别 0 基本药，1 非基本药
        /// </summary>
        public int? Source { get; set; }
        /// <summary>
        /// 订单状态 0未提交，1已提交
        /// </summary>
        public int? OrderStatus { get; set; }
        /// <summary>
        /// 订单制定时间
        /// </summary>
        public string AddTime { get; set; }
        /// <summary>
        /// 订单修改时间
        /// </summary>
        public string UpdateTime { get; set; }
        /// <summary>
        /// 剂型
        /// </summary>
        public string MedicineModelName { get; set; }
        /// <summary>
        /// 类别名称
        /// </summary>
        public string SortName { get; set; }
        /// <summary>
        /// 流水号G
        /// </summary>
        public string GoodsID { get; set; }
        /// <summary>
        /// 订单有效期起
        /// </summary>
        public string OrderTimeFrom { get; set; }
        /// <summary>
        /// 订单有效期止
        /// </summary>
        public string OrderTimeTo { get; set; }
    }
}